<style scoped lang="scss">
    .xy-slider {
    }
</style>
<template>
    <switch :checked="checked" @change="change" />
</template>
<script>
export default {
    name: 'XySlider',
    props: {
        value: {
            type: Number,
            default: false
        },
        disabled: {
            type: Boolean,
            default: false
        },
    },
    data() {
        return {
        }
    },
    created: function () {
    },
    methods: {
        change(evt){
            this.$emit('input', evt.target.value);
        }
    }
}
</script>
